@Data
public class MedicineEvaluationDTO {
    @NotNull(message = "药品ID不能为空")
    private Integer medicineId;

    @NotNull(message = "评分不能为空")
    @Min(value = 1, message = "评分最小为1")
    @Max(value = 5, message = "评分最大为5")
    private Integer evaluationScore;

    @NotBlank(message = "评价内容不能为空")
    @Size(max = 500, message = "评价内容不能超过500字")
    private String evaluationContent;

    private Boolean isAnonymous = false;
} 